package com.dsg.service.apply;

import com.dsg.entity.apply.DsgApplyDiscount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsg.entity.dto.CardDiscountDto;

import java.util.List;

/**
 * <p>
 * 折扣資料 服务类
 * </p>
 *
 * @author system
 * @since 2020-07-10
 */
public interface IDsgApplyDiscountService extends IService<DsgApplyDiscount> {
    void saveDiscount(String cusNo, List<DsgApplyDiscount> applyDiscountList);

    /**
     * 油咭折扣記錄
     * @param cardOids
     * @param effDateBegin
     * @param effDateEnd
     * @return
     */
    List<CardDiscountDto> cardDiscount(String cardOids, String effDateBegin, String effDateEnd);
}
